/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.ec.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.ec.entity.ItemType;
import com.thinkgem.jeesite.modules.ec.dao.ItemTypeDao;

/**
 * 商品类型Service
 * @author zkool
 * @version 2016-01-16
 */
@Service
@Transactional(readOnly = true)
public class ItemTypeService extends CrudService<ItemTypeDao, ItemType> {

	public ItemType get(String id) {
		return super.get(id);
	}
	
	public List<ItemType> findList(ItemType itemType) {
		return super.findList(itemType);
	}
	
	public Page<ItemType> findPage(Page<ItemType> page, ItemType itemType) {
		return super.findPage(page, itemType);
	}
	
	@Transactional(readOnly = false)
	public void save(ItemType itemType) {
		super.save(itemType);
	}
	
	@Transactional(readOnly = false)
	public void delete(ItemType itemType) {
		super.delete(itemType);
	}
	
}